import axios from '../http.js'; // 导入http中创建的axios实例
import qs from 'qs'
const user = {
    getAssToken() {
        return axios.post(`/iot/save`)
    },
    // 登录
    login(params) {
        return axios({
            method: 'post',
            url: '/user/login',
            data: params
        });
    },
}

export default user;
